import 'package:flutter/cupertino.dart';
import 'package:flutter/material.dart';
import 'package:flutter_dk_form/flutter_dk_form.dart';

class CountDownDemoPage extends StatelessWidget {
  static const String routeName = '/page/count_down_demo';
  static const String name = "CountDownDemoPage";

  @override
  Widget build(BuildContext context) {
    return Scaffold(
      appBar: AppBar(
        title: Text("CountDownDemoPage"),
      ),
      body: Countdown(
        countdownUnit: CountdownUnit.Seconds,
        delayTime: 120,
        onComplete: () {
          print("CountDownDemoPage onComplete");
        },
      ),
    );
  }
}
